<template>
  <div>
    <dl class="m-header">
      <dt class="f-l relaImg">
        <img src="~images/icon/people-ico.png" />
      </dt>
      <dd>
        <p>
          <span>{{Name}}</span>
          {{MobileNo}}
        </p>
        <p>{{CorpName}}</p>
      </dd>
    </dl>
    <!-- <ul class="displayflex bus-rank-total">
      <li class="flex1">
        <p>订单数</p>
        <em>1222</em>
      </li>
      <li class="flex1">
        <p>实际出库</p>
        <em>852</em>
      </li>
      <li class="flex1">
        <p>已签收</p>
        <em>852</em>
      </li>
    </ul> -->
  </div>
</template>

<script>
export default {
  data() {
    return {
      Name: "",
      CorpName: "",
      MobileNo: ""
    };
  },
  created() {
    this.getdata();
  },
  methods: {
    getdata() {
      var self = this;
      var userinfo = JSON.parse(localStorage.userinfo);
      if (userinfo.UserBizType == "Hospital") {
        self.CorpName = userinfo.BelongName;
      } else {
        self.CorpName = userinfo.CorpName;
      }
      self.Name = userinfo.Name;
      self.MobileNo = userinfo.MobileNo;
    }
  }
};
</script>
